package com.bjpowernode.p2p.service.loan;

import com.bjpowernode.p2p.model.loan.RechargeRecord;

/**
 * ClassName:RechargeRecordService
 * Package:com.bjpowernode.p2p.service.loan
 * Description: 描述信息
 *
 * @date:2021/9/3 15:01
 * @author:sjf
 * @Copyright:动力节点
 */
public interface RechargeRecordService {

    /**
     * 生成订单
     * @param rechargeRecord
     * @return
     */
    int addRecharge(RechargeRecord rechargeRecord);

    /**
     * 处理快钱异步通知
     * @param orderId 商家订单号
     * @param payResult 快钱给的支付结果
     * @return int 处理结果
     */
    int doWithKQNotify(String orderId, Integer payResult);
}
